{% extends "login.html" %}

{% block form_content %}
    <form method="post">
        {{ form.csrf_token }}

        <div class="panel panel-default" id="my-panel">
            <div class="panel-heading ">Welcome</div>
            <div class="panel-body">
                <table class="table">
                    <tbody>
                    <tr>
                        <td>{{ form.name.label }}</td>
                        <td>{{ form.name }} </td>
                    </tr>
                    <tr>
                        <td>{{ form.account.label }}</td>
                        <td>{{ form.account }} </td>
                    </tr>
                    <tr>
                        <td>{{ form.password.label }}</td>
                        <td>{{ form.password }} </td>
                    </tr>
                    <tr>
                        <td>{{ form.password2.label }}</td>
                        <td>{{ form.password2 }} </td>
                    </tr>
                    <tr>
                        <td>{{ form.submit }}</td>
                        <td style="text-align: right"><a href="/login/" class="btn">返回登录</a></td>
                    </tr>
                    </tbody>
                </table>
            </div>
            <div class="col-md-4">&nbsp;</div>
        </div>
    </form>
{% endblock %}